package serialize;

/**
 * @Description:
 * @author: fengrun@pinduoduo.com
 * @date: 2018/9/25
 */
public class KickAccountModel {

    private Header header;

    private Body body;

    public Header getHeader() {
        return header;
    }

    public void setHeader(Header header) {
        this.header = header;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public static class Header {
        String businessType;
        String msgType;
        Integer sequence;
        Long timeStamp;
        String version;
        Integer delay;
        String extension;

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public String getMsgType() {
            return msgType;
        }

        public void setMsgType(String msgType) {
            this.msgType = msgType;
        }

        public Integer getSequence() {
            return sequence;
        }

        public void setSequence(Integer sequence) {
            this.sequence = sequence;
        }

        public Long getTimeStamp() {
            return timeStamp;
        }

        public void setTimeStamp(Long timeStamp) {
            this.timeStamp = timeStamp;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public Integer getDelay() {
            return delay;
        }

        public void setDelay(Integer delay) {
            this.delay = delay;
        }

        public String getExtension() {
            return extension;
        }

        public void setExtension(String extension) {
            this.extension = extension;
        }

        @Override
        public String toString() {
            return "Header{" +
                "businessType='" + businessType + '\'' +
                ", msgType='" + msgType + '\'' +
                ", sequence=" + sequence +
                ", timeStamp=" + timeStamp +
                ", version='" + version + '\'' +
                ", delay=" + delay +
                ", extension='" + extension + '\'' +
                '}';
        }
    }

    public static class Body {
        String extension;
        String userID;
        String deviceName;

        public String getExtension() {
            return extension;
        }

        public void setExtension(String extension) {
            this.extension = extension;
        }

        public String getUserID() {
            return userID;
        }

        public void setUserID(String userID) {
            this.userID = userID;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        @Override
        public String toString() {
            return "Body{" +
                "extension='" + extension + '\'' +
                ", userID='" + userID + '\'' +
                ", deviceName='" + deviceName + '\'' +
                '}';
        }
    }

    @Override
    public String toString() {
        return "KickAccountModel{" +
            "header=" + header +
            ", body=" + body +
            '}';
    }
}
